package MtG.publicClass.messages;

import MtG.publicClass.Message;
import MtG.publicClass.Player;

/**
 * Conneected.java is a message class that shows, who connected to the server.
 * @author Marek Sirp
 * @author Jaan Sepp
 */
public class Connected extends Message{
	/**
	 * Determines if a de-serialized file is compatible with this class.
	 */
	private static final long serialVersionUID = -1579407399474566605L;

	/**
	 * Constructor.
	 * @param player player that connected to the server.
	 */
	public Connected(Player player){
		setMessage(player.getName() + " connected to server");
	}
	

}
